home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-12 | 1.1 KB | 55 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Program Options\Microsoft Office\MS Office XP\PowerPoint"
- "NAME"="Document Routing"
- "VERSION"="1.0"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable tracking status of document routing"
- "DESCRIPTION 1"="Tracks the status of document routing in PowerPoint XP (2002). Default is enabled. This affects all users."
- "AUTHOR"="Xteq Systems (CptSiskoX)"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sV1="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\PowerPoint\Document Routing\TrackStatus"
-
-
- sPCheck="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\PowerPoint"
- Sub Plugin_Initialize
- if RegPathExists(sPCheck) then
- i=RegReadValue(sV1)
- if i=0 then SetUiElement 1,true
-
-
- else
- disable()
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV1,i,1)
-
-
- Call Logoff()
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-